package com.whut.whw.constant;

/**
 * <pre>
 *     author : 杨丽金
 *     time   : 2017/06/02
 *     desc   : 参数配置(静态常量)
 *     version: 1.0
 * </pre>
 */
public class ConfigConsts {
    public static final String BASE_URL = "http://10.138.75.71:8080/";
    public static final String IMG_URL = BASE_URL + "upload_img/";
    /**
     * 杨丽金 start
     */
    public static final int GOODS_DETAIL_FLAG=0;
    public static final int DISPOSE_EXCHANGE_FLAG=1;
    // 查询"发现"页面物品列表用到的url
    public static final String GOODS_LIST_URL=BASE_URL+"find/goodsList";
    /**
     * 杨丽金 end
     */

    /**
     * tc start
     */
    //注册用到的url
    public static final String Login_URL = BASE_URL + "user/login";
    public static final String REG_URL = BASE_URL + "user/reg";
    //我的物品url
    public static final String MYGOODS_URL = BASE_URL + "personal/mygoods";//已发布物品
    public static final String MYGOODS_FINISHED_URL = BASE_URL + "personal/mygoods_finished";//已完结物品
    public static final int MYGOODS_PAGESIZE = 6;//默认我的物品每页显示6个
    //我想要的url
    public static final String WANTGOODS_URL = BASE_URL + "personal/mywant";//我想要的物品
    /**
     * tc end
     */
}
